<html>

  <head>

    <base href="/">

    <title>AngularJS WeUI</title>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link rel="stylesheet" href="app/style/weui.css"/>
    <link rel="stylesheet" href="app/style/example.css"/>
  
    <script src="node_modules/angular2/bundles/angular2-polyfills.js"></script>
    <script src="node_modules/systemjs/dist/system.src.js"></script>
    <script src="node_modules/rxjs/bundles/Rx.js"></script>
    <script src="node_modules/angular2/bundles/angular2.dev.js"></script>

    <script src="node_modules/angular2/bundles/router.dev.js"></script>

    <script>
      System.config({
        packages: {        
          app: {
            format: 'register',
            defaultExtension: 'js'
          }
        }
      });

      System.import('app/main')
            .then(null, console.error.bind(console));
    </script>

  </head>

  <body>
    <weui-app>Loading...</weui-app>
  </body>

</html>